package com.gec.oasys.dao;

import com.gec.oasys.pojo.SysRole;
import com.gec.oasys.pojo.SysRole;
import com.gec.oasys.util.SoulPage;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysRoleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SysRole record);

    int insertSelective(SysRole record);

    SysRole selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysRole record);

    int updateByPrimaryKey(SysRole record);
    
    public List<SysRole> querySysRole(SysRole sysRole);

    List<SysRole> dataGrid(SoulPage<SysRole> soulPage, @Param("so") SysRole sysRole);

}